﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Meeting.Model
{
    /// <summary>
    /// 该实体类是基础数据操作返回值
    /// </summary>
    public class JsonResponse
    {
        private bool _Success = false;
        public bool success
        {
            get { return _Success; }
            set { _Success = value; }
        }

        private string _Message = string.Empty;

        public string Message
        {
            get { return _Message; }
            set { _Message = value; }
        }

        private object _ResponseData = null;

        public object ResponseData
        {
            get { return _ResponseData; }
            set { _ResponseData = value; }
        }

        private string _CallBack = string.Empty;

        public string CallBack
        {
            get { return _CallBack; }
            set { _CallBack = value; }
        }

        public int DataCount
        {
            get;
            set;
        }
    }

    ///// <summary>
    ///// 此类给sencha toucha 表单提交时使用
    ///// </summary>
    //public class JsonResponseExt
    //{
    //    public Boolean success { get; set; }
    //    public object data { get; set; }
    //}
}
